using System;
using System.Collections.Generic;
using System.Runtime.Serialization;

namespace Casino.DataContracts
{
    /// <summary>
    /// Data Contract Class - AcceptDeny
    /// </summary>
    [DataContract(Namespace = "http://Casino.DataContracts/2007/11", Name = "AcceptDeny")]
    public partial class AcceptDeny
    {
        /// <summary>
        /// status odpowiedzi na zaproszenie
        /// </summary>
        private Status answerField;
        /// <summary>
        /// zwraca lub ustawia status odpowiedzi na zaproszenie
        /// </summary>
        [DataMember(IsRequired = true, Name = "answer", Order = 0)]
        public Status answer
        {
            get { return answerField; }
            set { answerField = value; }
        }
        /// <summary>
        /// typ wyliczeniowy dla odpowiedzi na zaproszenie
        /// </summary>
        public enum Status
        {
            accepted,
            denied
        }
    }
}
